<template>
<div>
  <div class="header">
    <div><go-back class="back"></go-back></div>
    {{$route.meta.title}}
  </div>
  
  <keep-alive>
    <router-view></router-view>
  </keep-alive>

</div>
</template>

<script>
export default {

}
</script>

<style>
  .header{
    position: relative;
    width: 100vw;
    height: 1rem;
    background-color:coral;
    text-align: center;
    line-height: 1rem;
    font-size: 0.35rem;
    color: white;
  }
  .back{
    position: absolute;
    left: 0rem;
    top:0rem;
    width: 1rem;
    height: 1rem;
  }
  .back i{
    color:white;
  }
</style>